package com.jic.finance.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.finance.entity.PaymentGateway;
import com.jic.finance.request.manager.PaymentGatewayRequest;

import java.lang.Long;
import java.util.List;


/**
* 支付网关
* @author : 
* @email : 
* @since : 2020-03-04 10:48:48
* @version : v1.0.0
*/
public interface PaymentGatewayService {

    long insert(PaymentGatewayRequest paymentGateway);

    long delete(Long id);

    long update(PaymentGatewayRequest paymentGateway);

    PaymentGateway queryByPrimaryKey(Long id);

    List<PaymentGateway> query(PaymentGateway paymentGateway);

    PageResult<PaymentGateway> queryPage(PaymentGateway paymentGateway, Page pageQuery);

}